First, prefacePrior to understanding the use of okhttp cache, and the use of the cache is a preliminary summary of 80650856. The cache is primarily intended to obtain resource information directly from the cache in the absence of a network, or when
Original address: http://tools.ietf.org/html/rfc2616#section-14.9Content of this articleOverviewTermsHTTP Cache-control HeaderResources that can be cachedResources that can be stored in cacheModify the basic expiration mechanismCache
The webpage cache is controlled by the cache-control in the HTTP message header. common values include private, no-cache, Max-age, must-revalidate, etc. The default value is private http://www.jb51.net/article/34017.htm.
The function of browser
Symfony2 Framework Learning Notes HTTP cache usage details, SYMFONY2 study notes
This example describes the Symfony2 framework HTTP cache usage. Share to everyone for your reference, as follows:
The nature of rich Web applications means their
The function of browser review is divided into the following situations:(1) open a new windowIf the values are private, no-cache, and must-revalidate, the server will be accessed again when a new window is opened.If the max-age value is specified,
This example describes the Symfony2 framework HTTP cache usage. Share to everyone for your reference, specific as follows:
The nature of rich Web applications means their dynamics. No matter how efficient your application is, there is always a lot
Document directory
Cache channel)
Let's look back at the simple implementation of cache in rest wcf 4.0:
1. Configuration
2. Use Configuration
[OperationContract][WebGet (UriTemplate = "/Time")]
[AspNetCacheProfile
HTML config no-cache (memo)No-cache ConfigurationThe HTML table header is as follows
Meta http-equiv= "content-type" content= "text/html; Charset=utf-8 " />
Meta http-equiv= "pragma" content="No-cache">
Meta
The cache of web pages is controlled by "cache-control" in the HTTP message header. common values include private, no-cache, Max-age, and must-revalidate, the default value is private. The function of browser review is divided into the following
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.